package net.minecraft.src;

import net.minecraft.src.StatsSyncher;

class ThreadStatSyncherReceive extends Thread {

   // $FF: synthetic field
   final StatsSyncher field_27231_a;


   ThreadStatSyncherReceive(StatsSyncher var1) {
      super();
      this.field_27231_a = var1;
   }

   public void run() {
      boolean var5 = false;

      label58: {
         try {
            var5 = true;
            if(StatsSyncher.func_27422_a(this.field_27231_a) != null) {
               StatsSyncher.func_27412_a(this.field_27231_a, StatsSyncher.func_27422_a(this.field_27231_a), StatsSyncher.func_27423_b(this.field_27231_a), StatsSyncher.func_27411_c(this.field_27231_a), StatsSyncher.func_27413_d(this.field_27231_a));
               var5 = false;
            } else if(StatsSyncher.func_27423_b(this.field_27231_a).exists()) {
               StatsSyncher.func_27421_a(this.field_27231_a, StatsSyncher.func_27409_a(this.field_27231_a, StatsSyncher.func_27423_b(this.field_27231_a), StatsSyncher.func_27411_c(this.field_27231_a), StatsSyncher.func_27413_d(this.field_27231_a)));
               var5 = false;
            } else {
               var5 = false;
            }
            break label58;
         } catch (Exception var6) {
            var6.printStackTrace();
            var5 = false;
         } finally {
            if(var5) {
               StatsSyncher.func_27416_a(this.field_27231_a, false);
            }
         }

         StatsSyncher.func_27416_a(this.field_27231_a, false);
         return;
      }

      StatsSyncher.func_27416_a(this.field_27231_a, false);
   }
}
